[GI] Add missing (allow-none) annotations
authorPavel Holejsovsky <pholejs@src.gnome.org>
Tue, 18 Jan 2011 08:25:47 +0000 (09:25 +0100)
committerPavel Holejsovsky <pholejs@src.gnome.org>
Tue, 18 Jan 2011 16:30:43 +0000 (17:30 +0100)
gtk/gtkaction.c
gtk/gtkicontheme.c
gtk/gtkradioaction.c
gtk/gtkrecentaction.c
gtk/gtkscale.c
gtk/gtktoggleaction.c
gtk/gtktreeviewcolumn.c
gtk/gtkwindow.c

index 64b94bfd9d959849deb4c7703de7bca3319349fe..5514c25e7209d5b3bc0b5b1783802e4c38d2a55f 100644 (file)
@@ -508,8 +508,8 @@ gtk_action_buildable_get_name (GtkBuildable *buildable)
  * @name: A unique name for the action
  * @label: (allow-none): the label displayed in menu items and on buttons, or %NULL
  * @tooltip: (allow-none): a tooltip for the action, or %NULL
- * @stock_id: the stock icon to display in widgets representing the
- *   action, or %NULL
+ * @stock_id: (allow-none): the stock icon to display in widgets representing
+ *            the action, or %NULL
  *
  * Creates a new #GtkAction object. To add the action to a
  * #GtkActionGroup and set the accelerator for the action,
index 442944ed6450a01510d77057629c0a35bc673e5d..9035510b722fb8459d2454d73df2a4a504df15d2 100644 (file)
@@ -837,8 +837,8 @@ gtk_icon_theme_prepend_search_path (GtkIconTheme *icon_theme,
 /**
  * gtk_icon_theme_set_custom_theme:
  * @icon_theme: a #GtkIconTheme
- * @theme_name: name of icon theme to use instead of configured theme,
- *   or %NULL to unset a previously set custom theme
+ * @theme_name: (allow-none): name of icon theme to use instead of
+ *   configured theme, or %NULL to unset a previously set custom theme
  * 
  * Sets the name of the icon theme that the #GtkIconTheme object uses
  * overriding system configuration. This function cannot be called
@@ -1722,8 +1722,8 @@ add_key_to_list (gpointer  key,
 /**
  * gtk_icon_theme_list_icons:
  * @icon_theme: a #GtkIconTheme
- * @context: a string identifying a particular type of icon,
- *           or %NULL to list all icons.
+ * @context: (allow-none): a string identifying a particular type of
+ *           icon, or %NULL to list all icons.
  * 
  * Lists the icons in the current icon theme. Only a subset
  * of the icons can be listed by providing a context string.
index 47cb3f4c5c0ce3c93d0d6339e5c9fd60870c121b..a71c0d5bdee8ba8e3c3f5bc2019b2175a8c34189 100644 (file)
@@ -195,8 +195,8 @@ gtk_radio_action_init (GtkRadioAction *action)
  * @name: A unique name for the action
  * @label: (allow-none): The label displayed in menu items and on buttons, or %NULL
  * @tooltip: (allow-none): A tooltip for this action, or %NULL
- * @stock_id: The stock icon to display in widgets representing this
- *   action, or %NULL
+ * @stock_id: (allow-none): The stock icon to display in widgets representing
+ *   this action, or %NULL
  * @value: The value which gtk_radio_action_get_current_value() should
  *   return if this action is selected.
  *
index 5d73594899833111201b660b08e258246f876d41..015cf9b08049e9a64c71f328bb5eef8b14607ed4 100644 (file)
@@ -672,8 +672,8 @@ gtk_recent_action_init (GtkRecentAction *action)
  * @name: a unique name for the action
  * @label: (allow-none): the label displayed in menu items and on buttons, or %NULL
  * @tooltip: (allow-none): a tooltip for the action, or %NULL
- * @stock_id: the stock icon to display in widgets representing the
- *   action, or %NULL
+ * @stock_id: (allow-none): the stock icon to display in widgets representing
+ *   the action, or %NULL
  *
  * Creates a new #GtkRecentAction object. To add the action to
  * a #GtkActionGroup and set the accelerator for the action,
@@ -704,8 +704,8 @@ gtk_recent_action_new (const gchar *name,
  * @name: a unique name for the action
  * @label: (allow-none): the label displayed in menu items and on buttons, or %NULL
  * @tooltip: (allow-none): a tooltip for the action, or %NULL
- * @stock_id: the stock icon to display in widgets representing the
- *   action, or %NULL
+ * @stock_id: (allow-none): the stock icon to display in widgets representing
+ *   the action, or %NULL
  * @manager: (allow-none): a #GtkRecentManager, or %NULL for using the default
  *   #GtkRecentManager
  *
index 486e64722eb440ac986bfde1dc00e396c3b1d8f5..a44dd9e1daa1c57284a67b6cc40256519ed78bda 100644 (file)
@@ -510,8 +510,8 @@ gtk_scale_get_property (GObject      *object,
 /**
  * gtk_scale_new:
  * @orientation: the scale's orientation.
- * @adjustment: the #GtkAdjustment which sets the range of the scale, or
- *              %NULL to create a new adjustment.
+ * @adjustment: (allow-none): the #GtkAdjustment which sets the range
+ *              of the scale, or %NULL to create a new adjustment.
  *
  * Creates a new #GtkScale.
  *
index 525d462af02b32a6098c0495b08275b1dae22fb0..9dcc83d1e0516f6287d7c514abd9dbf472dd8f37 100644 (file)
@@ -168,8 +168,8 @@ gtk_toggle_action_init (GtkToggleAction *action)
  * @name: A unique name for the action
  * @label: (allow-none): The label displayed in menu items and on buttons, or %NULL
  * @tooltip: (allow-none): A tooltip for the action, or %NULL
- * @stock_id: The stock icon to display in widgets representing the
- *   action, or %NULL
+ * @stock_id: (allow-none): The stock icon to display in widgets representing
+ *            the action, or %NULL
  *
  * Creates a new #GtkToggleAction object. To add the action to
  * a #GtkActionGroup and set the accelerator for the action,
index eebcf5ecdcaf2ba4ca2501770669fdda4ee298f9..370eb8ab95a5b66c422dbbaf806519b7aa25bd77 100644 (file)
@@ -1770,7 +1770,7 @@ gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column,
  * gtk_tree_view_column_set_cell_data_func:
  * @tree_column: A #GtkTreeViewColumn
  * @cell_renderer: A #GtkCellRenderer
- * @func: The #GtkTreeViewColumnFunc to use. 
+ * @func: (allow-none): The #GtkTreeViewColumnFunc to use. 
  * @func_data: The user data for @func.
  * @destroy: The destroy notification for @func_data
  * 
index 55a9d256918d76cfe35f8696d01037ad7ea81654..c16fffbbe3b28a8dc0fe6255addacb11fa06ed0e 100644 (file)
@@ -2629,7 +2629,7 @@ gtk_window_release_application (GtkWindow *window)
 /**
  * gtk_window_set_application:
  * @window: a #GtkWindow
- * @application: a #GtkApplication, or %NULL
+ * @application: (allow-none): a #GtkApplication, or %NULL
  *
  * Sets or unsets the #GtkApplication associated with the window.
  *